/**    
 * @{#} Constant.java Create on 2014-5-18 下午2:27:19    
 *          
 * @author <a href="mailto:evan0502@qq.com">Evan</a>   
 * @version 1.0    
 */
package com.smiier.skin.constant;

import com.smiier.skin.util.GlobalSettings;

public class Constant extends com.evan.common.constant.Constant {

	public final class URL {
		public static final String REQUEST = GlobalSettings.SERVER_URL_JOIN;
		public static final String REQUEST_TEST = GlobalSettings.SERVER_URL_JOIN;
		public static final String REQUEST_PART_JSON = GlobalSettings.SERVER_FIXED_JOIN
				+ "Part.txt";
		public static final String REQUEST_SYMPTOM_JSON = GlobalSettings.SERVER_FIXED_JOIN
				+ "Symptom.txt";
		public static final String REQUEST_DRUGALLERGEN_JSON = GlobalSettings.SERVER_FIXED_JOIN
				+ "DrugAllergen.txt";
		public static final String REQUEST_MEDICALHISTORY_JSON = GlobalSettings.SERVER_FIXED_JOIN
				+ "MedicalHistory.txt";
		public static final String REQUEST_MEDICINAL_JSON = GlobalSettings.SERVER_FIXED_JOIN
				+ "Medicinal.txt";
		public static final String REQUEST_AREA_JSON = GlobalSettings.SERVER_FIXED_JOIN
				+ "Area.txt";
		public static final String REQUEST_JOBS_JSON = GlobalSettings.SERVER_FIXED_JOIN
				+ "Jobs.txt";
		public static final String REQUEST_HOSPITAL_JSON = GlobalSettings.SERVER_FIXED_JOIN
				+ "Hospital.txt";
		public static final String REQUEST_PROFESSIONAL_JSON = GlobalSettings.SERVER_FIXED_JOIN
				+ "Professional.txt";
		public static final String REQUEST_ALLERGEN_JSON = GlobalSettings.SERVER_FIXED_JOIN
				+ "Allergen.txt";
		public static final String REQUEST_SOFTWARE_UPDATE = GlobalSettings.SERVER_FIXED_JOIN
				+ "AndroidUpdate.txt";
		public static final String REQUEST_SOFTWARE_UPDATE_TEST = GlobalSettings.SERVER_FIXED_JOIN
				+ "Update.txt";
		public static final String REQUEST_DISEASE_JSON = GlobalSettings.SERVER_FIXED_JOIN
				+ "Disease.txt";
		public static final String REQUEST_NATION_JSON = GlobalSettings.SERVER_FIXED_JOIN
				+ "Nation.txt";
		public static final String REQUEST_BONUSRATE_JSON = GlobalSettings.SERVER_FIXED_JOIN
				+ "BonusRate.txt";
		public static final String REQUEST_BANK_JSON = GlobalSettings.SERVER_FIXED_JOIN
				+ "Bank.txt";
		public static final String REQUEST_SYMPTOM_PATIENT_JSON = GlobalSettings.SERVER_FIXED_JOIN
				+ "Symptom_Patient.txt";

	}

	public static final String APP_NAME = "pf_android";
	public static final String QQ_APP_ID = "1103472071";// "101105612";       1101216096
	public static final String WEIBO_APP_KEY = "641424196";// "240305376";
	public static final String REDIRECT_URL = "http://www.pifukeyisheng.com/";
	public static final String QQ_APP_ID_PATIENT = "1104296099";// "101105612";
	public static final String WEIBO_APP_KEY_PATIENT = "3864495587";
	/**
	 * Scope 是 OAuth2.0 授权机制中 authorize 接口的一个参数。通过 Scope，平台将开放更多的微博
	 * 核心功能给开发者，同时也加强用户隐私保护，提升了用户体验，用户在新 OAuth2.0 授权页中有权利 选择赋予应用的功能。
	 * 
	 * 我们通过新浪微博开放平台-->管理中心-->我的应用-->接口管理处，能看到我们目前已有哪些接口的 使用权限，高级权限需要进行申请。
	 * 
	 * 目前 Scope 支持传入多个 Scope 权限，用逗号分隔。
	 * 
	 * 有关哪些 OpenAPI 需要权限申请，请查看：http://open.weibo.com/wiki/%E5%BE%AE%E5%8D%9AAPI
	 * 关于 Scope 概念及注意事项，请查看：http://open.weibo.com/wiki/Scope
	 */
	public static final String SCOPE = "email,direct_messages_read,direct_messages_write,"
			+ "friendships_groups_read,friendships_groups_write,statuses_to_me_read,"
			+ "follow_app_official_microblog," + "invitation_write";
	public static final String USER_TYPE = "user_type";
	public static final String PARAM_API = "api";
	public static final String PARAM_UID = "Uid";
	public static final String PARAM_QID = "qid";
	public static final String PARAM_USERTYPE = "User_Type";
	public static final String JSON_PARAM_RES = "Res";
	public static final String JSON_PARAM_RESCODE = "ResultCode";
	public static final String JSON_PARAM_RESULTMESSAGE = "ResultMessage";
	public static final String JSON_PARAM_TOKEN = "Token";
	public static final String PARAM_TOKEN = "token";

	public static final String IDENTITY_KEY_BINGLI = "identity_key_bingli";
	public static final String IDENTITY_KEY_BINGLI_EDIT = "identity_key_bingli_edit";
	public static final String IDENTITY_KEY_QUESTION_EDIT = "identity_key_question_edit";
	public static final String IDENTITY_KEY_1 = "identity_key_1";
	public static final String IDENTITY_KEY_2 = "identity_key_2";
	public static final String IDENTITY_KEY_USER_TYPE = "identity_key_user_type";
	public static final String IDENTITY_KEY_SMS = "identity_key_sms";
	public static final String IDENTITY_KEY_TITLE = "identity_key_title";
	public static final String IDENTITY_KEY_DOCTOR_INFO = "identity_key_doctor_info";

	public static final String IDENTITY_KEY_PARAM_KEY = "identity_key_param_key";
	public static final String IDENTITY_KEY_NAV_TITLE = "identity_key_nav_title";
	public static final String IDENTITY_KEY_CONTENT_TIP = "identity_key_content_tip";
	public static final String IDENTITY_KEY_PROVINCE_CITY_COUNTRY = "identity_key_province_city_country";
	public static final String IDENTITY_KEY_LEVEL_2 = "identity_key_level_2";
	public static final String IDENTITY_KEY_ITEM_SIZE = "identity_key_item_size";

	public static final String IDENTITY_KEY_LOGIN_USERNAME = "identity_key_login_username";
	public static final String IDENTITY_KEY_LOGIN_PASSWORD = "identity_key_login_password";
	public static final String IDENTITY_KEY_LOGIN_USER_TYPE = "identity_key_login_user_type";

	public static final String IDENTITY_KEY_LOGIN_TYPE = "identity_key_login_type";
	public static final String IDENTITY_KEY_CREATE_COST_2_DOCTOR = "identity_key_create_cost_2_doctor";
	public static final String IDENTITY_KEY_QUESTION_ID = "identity_key_question_id";
	public static final String IDENTITY_KEY_COST_MUST_OVER_ZERO = "identity_key_cost_must_over_zero";
	public static final String IDENTITY_KEY_ID = "identity_key_id";

	public static final int ACTIVITY_CHOOSE_BUWEI = 0x103;
	public static final int ACTIVITY_CHOOSE_ZHENGZHUANG = 0x104;
	public static final int ACTIVITY_CREATE_BINGLI_SUCCESSFULLY = 0x105;
	public static final int ACTIVITY_CHOOSE_TEMPLATE = 0x106;

	public static final String RECIVER_QUESTION = "com.smiier.skin.question.receiver";
	public static final String RECIVER_UPDATE_QUESTION = "com.smiier.skin.question.update.receiver";
	public static final String RECIVER_CHAT_LIST = "com.smiier.skin.chat_list.receiver";
	public static final String RECIVER_SESSION_ITEM_NOREAD_COUNT = "com.smiier.skin.session_noread.receiver";
	public static final String RECIVER_SESSION_TAB_NOREAD = "com.smiier.skin.session_tab.receiver";
	public static final String RECIVER_MYIFNO_TAB_NOREAD = "com.smiier.skin.myinfo.receiver";
	public static final String RECIVER_MYIFNO_ITEM_NOREAD = "com.smiier.skin.myinfo_item.receiver";
	public static final String RECIVER_MYIFNO_SHENHE = "com.pifu.skin.shenhe.receiver";
	public static final String RECIVER_CHAT_FINISH_REFRESH = "com.smiier.skin.chat_finish_fresh.receiver";
	public static final String RECIVER_LOGIN = "com.smiier.skin.login.receiver";
	public static final String RECIVER_COMMENT = "com.smiier.skin.commnet.receiver";
	public static final String RECEIVER_CHATING = "com.smiier.skin.chating.receiver";
	public static final String RECEIVER_ACCOUNT_CHONGZHI = "com.smiier.skin.account_chongzhi.receiver";
	public static final String RECEIVER_CREATE_TEMPLATE = "com.smiier.skin.create_template_receiver";

	// TODO 需要注意全局变量
	// public static int uid;
	// public static String token;
	// public static JSONObject USER, BINGLI;
	// public static int currentUserType = 0;
	// public static String YUE = "";

	public static final int pageSize = 10;

	public static String IMG_TH = "_th.jpg", IMG_SRC = "_src.jpg";

	public static final int TYPE_DOCTOR = 2, TYPE_PATIENT = 1;

	public static final int GUANZHU = 1, JIEDA = 2;
	public static final int TYPE_CHAT_TEXT = 1, TYPE_CHAT_PIC = 2,
			TYPE_CHAT_VOICE = 3;

	public static final String SPLIT = "@@";
	public static final String mFollowDoctor = "follow_doctor";
	public static final int TYPE_UPDATE_PASSWORD = 1, TYPE_FORGET_PASSWORD = 2,
			TYPE_RESET_PAY_PASSWORD = 3, TYPE_UPDATE_MOBILE = 4;

	// public static final String REQUEST_VOICE_URL =
	// "http://182.92.2.120/mffile/session/";

	/**
	 * 测试
	 */
	public static final String REQUEST_VOICE_URL = "http://123.57.2.103/mffile/session/";

	// 1001 问题数量
	// 1002 关注的问题数量
	// 1004 悬赏数量（病人）
	//
	// 2001 解答数量
	// 2002 好评数量
	// 2003 中评数量
	// 2004 差评数量
	// 2005 被关注数量
	// 2006 关注的病人数量
	// 2007 关注的医生数量
	// 2008 解答中的问题数量（医生）
	// 2009 病历夹中病历数量
	// ……
	//
	// 3001 问题被关注数量
	//
	// 1000起为患者计数
	// 2000起为医生计数
	// 3000起为问题技术
	// 8000以上为共用计数
	// Res: [
	// {
	// Uid: 7,
	// Mobile: "123456789",
	// Pwd: "CB089AC9A7F42105433EE5B08DD1AEAB",
	// CreateTime: "2014-05-27T14:44:53",
	// Name: "",
	// Pic: "",
	// Sex: 0,
	// Nick: "",
	// Birth: "0001-01-01T08:00:00",
	// Nation: "",
	// Province: "",
	// City: "",
	// County: "",
	// User_Type: 0,
	// Is_Ban: 0,
	// Job: "",
	// Marital_Status: 0,
	// Pregnant_Status: 0,
	// MedicalHistory: [ ],
	// Allergen: [ ],
	// DrugAllergen: [ ],
	// Hospital: "",
	// Departments: "",
	// Tel: "",
	// Cost: 0,
	// Is_Cert: 0,
	// Professional: [ ],
	// Skilled: [ ],
	// Employee_Card: [ ],
	// Certificate: [ ],
	// IdCard: [ ]
	// }
	// ]
}
